package com.xyz.apis.modules.api.service;


import com.xyz.admin.common.entity.EvUserEntity;
import com.xyz.apis.modules.api.dto.UserDTO;

public interface EvUserService {


    EvUserEntity queryByPhone(String phone, Long userid);
    EvUserEntity queryByPhoneAccount(String phone, String account, Long userid);

    String changePassword(Long userid, String phone, String password);

    UserDTO queryUserById(Long userid);

    int updateUserinfo(Long userid, String nickname, String avatar);

    String updatepassword(Long userid, String password, String newpassword);

    int insertData(EvUserEntity entity, EvUserEntity pidEntity);

    EvUserEntity insertUserData(EvUserEntity entity, EvUserEntity pidEntity);

    int updateSynchronUserId(Long userid, Long zUserid);

    int updateSynchronInvitation(Long userid, Long jybUserid);

}
